<!DOCTYPE HTML>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>Navigator对象</title>
</head>
<script type="text/javascript">
    //document.write(window.navigator+"<br>");
    document.write(navigator + "<br>");
    var browser = navigator.appName;
    var b_version = navigator.appVersion;
    document.write("Browser name：" + navigator.appName);
    document.write("<br>");
    document.write("Browser version：" + navigator.appVersion + "<br>");
    document.write("浏览器代码名：" + navigator.appCodeName + "<br>");
    document.write("浏览器操作平台：" + navigator.platform + "<br>");
    document.write("客户服务器的user-agent头部：" + navigator.userAgent + "<br>");
</script>
<body>
</body>
</html>